/**
 * 入口文件
 */
import React from 'react'
import ReactDOM from 'react-dom'
import {Provider} from 'react-redux'
import store from './redux/store'
import App from './App'
// 全局修改ui组件的语言为中文
import { ConfigProvider } from 'antd'
import zh_CN from 'antd/es/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('zh-cn');

ReactDOM.render((
    <Provider store={store}>
      <ConfigProvider locale={zh_CN}>
        <App />
      </ConfigProvider>
    </Provider>
  ), document.getElementById('root'))